package com.tjetc.service;

import com.tjetc.domain.Order;
import com.tjetc.vo.Result;

import java.util.List;

public interface OrderService {
    Result commit(Order order);

    List<Order> findAll();

    List<Order> toBeReviewed();

    Result selectById(String orderId);

    List<Order> findByCustomerId(int id);

    void update(String orderId, int orderStatus);

    List<Order> findByCustomerIdAndStatus(Integer id, int order_status);

    Result delete(String orderId);

    List<Order> findByCustomerIdAndWei(Integer id, int i);

    List<Order> findList(int i, int i1);
}
